From: Po Lu Date: Tue, 15 Mar 2022 02:28:54 +0000 (+0800) Subject: Fix extraneous ifdef in xwidgets code X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2370^2~1121 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8cc8dfd67e44752667781602394962647afc795b;p=emacs.git Fix extraneous ifdef in xwidgets code * xterm.c (handle_one_xevent): Pass GesturePinchEnd events to xwidgets regardless of no-longer-present define. --- diff --git a/src/xterm.c b/src/xterm.c index b198dab983a..e48592210fd 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -13611,7 +13611,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, case XI_GesturePinchEnd: { -#if defined HAVE_XWIDGETS && HAVE_USABLE_XI_GESTURE_PINCH_EVENT +#if defined HAVE_XWIDGETS XIGesturePinchEvent *pev = (XIGesturePinchEvent *) xi_event; struct xwidget_view *xvw = xwidget_view_from_window (pev->event);